// 工程质量-抽球
import { req } from '@/utils/request'

// 节点配置
export const listBsChkitem = data => req.get('/cq/cqPeBsChkitem/list', data)
export const addBsChkitem = data => req.post('/cq/cqPeBsChkitem/add', data)
export const updateBsChkitem = data => req.post('/cq/cqPeBsChkitem/edit', data)
export const getBsChkitem = bsChkitemId => req.get(`/cq/cqPeBsChkitem/${bsChkitemId}`)
export const delBsChkitem = bsChkitemId => req.delete(`/cq/cqPeBsChkitem/${bsChkitemId}`)

// 铺排检查项配置
export const listPeChkCfg = data => req.get('/cq/pechkcfg/list', data)
export const addPeChkCfg = data => req.post('/cq/pechkcfg/add', data)
export const updatePeChkCfg = data => req.post('/cq/pechkcfg/edit', data)
export const delPeChkCfg = rpChkitemId => req.delete(`/cq/pechkcfg/${rpChkitemId}`)
